package com.letoy.edu.service;

import com.letoy.edu.entity.User;

public interface UserService {
    String getUserIdByNamePassword(String name, String password);

    User getUserByName(String name);

    User getUserByEmail(String email);

    int insertToken(String id, String token);

    User loginUser(User user);


}
